import Bar from '@/components/Bar'
import './index.scss'

const Home = () => {
  return (
    <div className='home'>
      <Bar
        xData={['React', 'Vue', 'Angula']}
        sData={[40, 40, 20]}
        title={'三大框架市场占有率'}
        style={{with: '500px', height: '300px'}}
      ></Bar>

      <Bar
        xData={['Samsung', 'Apple', 'Xiaomi']}
        sData={[500, 400, 300]}
        title={'主流手机销量'}
        style={{with: '500px', height: '300px'}}
      ></Bar>
    </div>
  )
}

export default Home